﻿using System.Threading.Tasks;
using SmartCity.Shared;
using Volo.Abp.Application.Services;

namespace CommonManagement
{
    /// <summary>
    /// 天气应用服务接口
    /// </summary>
    public interface IWeatherAppService:IApplicationService
    {
        /// <summary>
        /// 当天天气
        /// </summary>
        Task<ResultResponse<WeatherDto>> TodayAsync();

        /// <summary>
        /// 预报天气
        /// </summary>
        Task<ResultResponse<ForecastDto>> ForecastAsync();
    }
}